package web.base.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import web.base.pojo.po.Userandprivilege;
import web.base.pojo.po.UserandprivilegeExample;

public interface UserandprivilegeMapper {
    int countByExample(UserandprivilegeExample example);

    int deleteByExample(UserandprivilegeExample example);

    int deleteByPrimaryKey(String id);

    int insert(Userandprivilege record);

    int insertSelective(Userandprivilege record);

    List<Userandprivilege> selectByExample(UserandprivilegeExample example);

    Userandprivilege selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Userandprivilege record, @Param("example") UserandprivilegeExample example);

    int updateByExample(@Param("record") Userandprivilege record, @Param("example") UserandprivilegeExample example);

    int updateByPrimaryKeySelective(Userandprivilege record);

    int updateByPrimaryKey(Userandprivilege record);
}